From 024fb8a600a0336de27dc37f9beef6bd02c4fbcb Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Tue, 2 Aug 2005 11:27:58 +0000 Subject: [PATCH] Fix typo in pygrub code --- tools/pygrub/src/fsys/ext2/ext2module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pygrub/src/fsys/ext2/ext2module.c b/tools/pygrub/src/fsys/ext2/ext2module.c index 7b81d8bab7..13ce92108d 100644 --- a/tools/pygrub/src/fsys/ext2/ext2module.c +++ b/tools/pygrub/src/fsys/ext2/ext2module.c @@ -229,8 +229,8 @@ ext2_fs_open (Ext2Fs *fs, PyObject *args, PyObject *kwargs) snprintf(offsetopt, 29, "offset=%d", offset); } - err = ext2fs_open2(name, offsetopt, flags, superblock, block_size, - unix_io_manager, &efs); + err = ext2fs_file_open2(name, offsetopt, flags, superblock, block_size, + unix_io_manager, &efs); if (err) { PyErr_SetString(PyExc_ValueError, "unable to open file"); return NULL; -- 2.30.2